import request from "./request";
//获取列表
export const List = (params) => {
    return request({
        url: "article/list",
        method: "get",
        params: params
    })
}
//列表详情
export const ListDetail = (id) => {
    return request({
        url: `article/${id}`,
        method: "get"
    })
}